#include <iostream>
#include <string>
#include <vector>
#include <cstring>
#include <jsoncpp/json/json.h>

using namespace std;

#define SEP "\r\n"
#define SEP_LEN strlen(SEP)

class Transfer
{
public:
	string Serialize()
	{
		string str;
		str += to_string(a);
		str += SEP;
		str += to_string(b);
		str += SEP;
		str += to_string(fa);
		str += SEP;
		str += to_string(fb);
		str += SEP;
		str += to_string(da);
		str += SEP;
		str += to_string(db);
		str += SEP;
		return str;
	}
	void Deserialize(const string& s)
	{

	}
private:
	int a = 1;
	int b = 2;
	float fa = 1.1;
	float fb = 2.2;
	double da = 3.3;
	double db = 4.4;
	string s1 = "abc";
	string s2 = "def";
	vector<int> v1 = { 1, 2 };
	vector<int> v2 = { 3, 4 };
};

int main()
{
	Transfer ts;
	string ret = ts.Serialize();
	const char* arrc = ret.c_str();
	cout << arrc << endl;
	return 0;
}